package com.clear.honghefinance.biz.modules.system.resource.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 删除资源DTO
 * </p>
 */
@Getter
@Setter
public class DeleteSysResourceDTO implements Serializable {

    /**
     * 资源id
     */
    @ApiModelProperty(value = "资源id")
    @NotNull(message = "资源id不能为空")
    @Range(min = 0, max = Integer.MAX_VALUE)
    private Integer id;
}
